#ifndef GRADIENT_H
#define GRADIENT_H

#include <valarray>
#include "zadacha.h"
#include "struct.h"

std::valarray<double> gradient (std::valarray<double> w, double (*func)(std::valarray<double>,file_names& Fnames,input& data),
                                input& data, file_names& Fnames);

#endif /*GRADIENT_H*/
